import { request } from "../request";

export function postarticle(title,type,content,pic1,pic2,pic3) {
  return request({
    method: "post",
    url: '/api/forum/add/',
    // url: '/login',
    data: {
     title,
      type,
      content,
      pic1,
      pic2,
      pic3
    },
     withCredentials:true,
  });
}